<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{* タイトル *}{$layout.title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{* metaタグ *}{$layout.metas}
<link rel="stylesheet" href="/css/default.css?{$app.version}" type="text/css"
	media="screen" />
<link rel="stylesheet" href="/css/form.css?{$app.version}" type="text/css"
	media="screen" />
<link rel="stylesheet" href="/css/app.css?{$app.version}" type="text/css"
	media="screen" />

{* JavaScript *}
 {if $layout.js.enable}
 <script type="text/javascript" src="/bear/jquery.js"></script>
 <script type="text/javascript" src="/bear/jquery.cookie.js?{$app.version}"></script>
 <script type="text/javascript" src="/bear/jquery.bear.js?{$app.version}"></script>
 <script type="text/javascript" src="/bear/app.js?{$app.version}"></script>
 <script type="text/javascript" src="/js/page/{$layout.js.page|default:'default.js'}"></script>
 {/if}
{* /JavaScript *}

{* meta linkタグ *}{$layout.links} {$pager.links.linktags|default:""}

</head>
<body>
{* ヘッダー *}{include file="elements/header.tpl"} {* メッセージ *}{if $msg}
<center>
<div class="{$msg_css|default:"msg-ok"}">{$msg}</div>
</center>
{/if} {* ページ *}
<div class="content">{$content_for_layout}</div>
<br / clear=all> {* フッター *}{include file="elements/footer.tpl"}

</body>
</html>
